<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title></title>
<#include "/view/head.html"/>
<script type="text/javascript">
$(function() {
	$("#jvForm").validate();
});
</script>
</head>
<body>
<#include "/common/image_upload.html"/>
<div class="body-box">
<div class="rhead">
	<div class="rpos"><@s.m "global.position"/>:  操作员管理  - <@s.m "global.edit"/></div>
	<form class="ropt">
		<input type="button" value="<@s.m "global.backToList"/>" onclick="history.back();"/>
	</form>
	<div class="clear"></div>
</div>
<@p.form id="jvForm" action="update" labelWidth="12">
<@p.td label="营业执照" colspan="1" width="50" noHeight="true">${admin.user.username}</@p.td>
<@p.text width="50" colspan="1" label="真实姓名" name="user.realname" value=admin.user.realname required="true" maxlength="100"/><@p.tr/>

<@p.password width="50" colspan="1" label="密码" id="password" name="user.password" maxlength="100" help="空白表示不修改密码"/>
<@p.password width="50" colspan="1" label="确认密码" required="true" equalTo="#password"/><@p.tr/>

<@p.radio width="50" colspan="1" label="性别" name="gender" value=admin.gender list={"M":"男","F":"女"}/>
<@p.radio width="50" colspan="1" label="是否启用" name="user.enable" value=admin.user.enable list={"true":"启用","false":"禁用"}/><@p.tr/>

<@p.text width="50" colspan="1" label="身份证号" name="idCard" value=admin.idCard maxlength="50"/>
<@p.text width="50" colspan="1" label="邮箱" name="user.email" value=admin.user.email maxlength="50" required="true" class="required email"/><@p.tr/>

<@p.text width="50" colspan="1" label="手机" name="mobile" value=admin.mobile maxlength="50"/>
<@p.text width="50" colspan="1" label="QQ" name="qq" value=admin.qq maxlength="50"/><@p.tr/>

<@p.td colspan="2">
	<@p.hidden name="id" value=admin.id/>
	<@p.submit code="global.submit"/> &nbsp; <@p.reset code="global.reset"/>
</@p.td>
</@p.form>
</div>
</body>
</html>